package reduce.fz.com.reduce.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created by qingshengzheng on 15/7/21.
 */
public class PatternUtil {


    public static   Boolean isMobile(String mobile) {
        String regExp = "^[1]([3][0-9]{1}|59|58|88|89)[0-9]{8}$";

        Pattern p = Pattern.compile(regExp);

        Matcher m = p.matcher(mobile);
        return m.find();
    }
}
